<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import { config_app } from "@/api/core/system";

export default {
  name: "app",
  data() {
    return {};
  },
  created() {
    config_app().then((res) => {
      let data = this.$s.res(res);
      this.$store.commit("SET_APPCONFIG", data);
    });
  },
  methods: {},
  computed: {},
};
</script>
<style lang="scss">
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
</style>
